package top.dark.design.patterns.bridge;

/**
 * Author: Darkn
 * description:
 * Create Time: 2021/4/26 15:25
 */
public abstract class Phone {
    private Brand brand;
    public Phone(Brand brand) {
        this.brand = brand;
    }
    protected void open(){
        brand.open();
    }
    protected void call(){
        brand.call();
    }
    protected void close(){
        brand.close();
    }
}
